import request from '../utils/request'

export function getSysLogPageList(params) {
  return request({
    url: '/sysLog/list',
    method: 'get',
    params: {
      ...params
    }
  })
}

export function getSysLogById(id) {
  return request({
    url: '/sysLog/getById/'+id,
    method: 'get',
  })
}

export function deleteSysLogById(id) {
  return request({
    url: '/sysLog/delete/'+id,
    method: 'delete',
  })
}

export function deleteSysLogBatch(ids) {
  return request({
    url: '/sysLog/deleteBatch',
    method: 'delete',
    data: ids
  })
}




